<?php

declare(strict_types=1);

namespace Modules\SubjectConfig\Models;

use Catch\Traits\DB\BaseOperate;
use Catch\Traits\DB\ScopeTrait;
use Catch\Traits\DB\Trans;
use Illuminate\Database\Eloquent\Model;

/**
 * @property $id
 * @property $grade_id
 * @property $subject_id
 * @property $creator_id
 * @property $created_at
 * @property $updated_at
*/
class SubjectConfig extends Model
{
    use BaseOperate, Trans, ScopeTrait;

    protected $table = 'subject_config';

    protected $fillable = [ 'id', 'teacher_id', 'grade_id', 'subject_id', 'creator_id', 'created_at', 'updated_at' ];

//    /**
//     * @var array
//     */
//    protected array $fields = ['id','grade_id','subject_id','created_at','updated_at'];
//
//    /**
//     * @var array
//     */
//    protected array $form = ['grade_id','subject_id'];

    /**
     * @var array
     */
    public array $searchable = [

    ];


}
